<template>
	<view class="my">
		<view class="my-header">
			<view class="header-main">
				<view class="header-config" @tap="goConfig" style="background-color: #00ff00;">
					<image class="config-img" src="../../static/sz.png" mode=""></image>
				</view>
				<view class="header-logo">
					<image class="logo-img" src="../../static/my.png" mode=""></image>
					<view class="logo-name">用户名称</view>
				</view>				
			</view>
		</view>
		
		<view class="order" style="color: #cccccc;">
			<view class="order-title">
				<view>我的订单</view>
				<view>全部订单</view>
			</view>
			<view class="order-list">
				<view class="order-item">
					<image class="order-img" src="../../static/fk.png" mode=""></image>
					<view>待付款</view>
				</view>
				<view class="order-item">
					<image class="order-img" src="../../static/fh.png" mode=""></image>
					<view>待付款</view>
				</view><view class="order-item">
					<image class="order-img" src="../../static/sh.png" mode=""></image>
					<view>待付款</view>
				</view><view class="order-item">
					<image class="order-img" src="../../static/pj.png" mode=""></image>
					<view>待付款</view>
				</view><view class="order-item">
					<image class="order-img" src="../../static/tk.png" mode=""></image>
					<view>待付款</view>
				</view>
			</view>
		</view>
		
		<!-- 内容列表 -->
		<view class="my-content" style="color: #cccccc;">
			
			<view class="my-content-item">
				<view>我的收藏</view>
				<view> > </view>
			</view>
			<view class="my-content-item">
				<view>我的收藏</view>
				<view> > </view>
			</view>
			<view class="my-content-item">
				<view>我的收藏</view>
				<view> > </view>
			</view>
			<view class="my-content-item">
				<view>我的收藏</view>
				<view> > </view>
			</view>
			<view class="my-content-item">
				<view>我的收藏</view>
				<view> > </view>
			</view>
			<view class="my-content-item">
				<view>我的收藏</view>
				<view> > </view>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goConfig(){
				uni.navigateTo({
					url:'/pages/my-config/my-config'
				})
			}
		},
		
	}
</script>

<style scoped>
.my-header{
	background: url(@/static/img/1.webp) no-repeat;
	width: 100%;
	height: 400rpx;
}
.header-main{
	position: relative;
	top: 60rpx;
}
.header-config{
	position: absolute;
	right: 60rpx;
	top: -30rpx;
}
.header-logo{
	position: absolute;
	left: 50%;
	margin-left: -60rpx;
	width: 150rpx;
	height: 120rpx;
}
.config-img{
	width: 60rpx;
	height: 60rpx;
}
.logo-img{
	width: 120rpx;
	height: 120rpx;
	border: 2rpx solid #55ffff;
	border-radius: 50%;
	background-color: #f1f1f1;
}
.logo-name{
	font-weight: bold;
	color: #ffffff;
}

.order-title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20rpx;
}
.order-list{
	padding: 20rpx;
	display: flex;
}
.order-item{
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.order-img{
	width: 80rpx;
	height: 80rpx;
}

.my-content{
	margin: 20rpx 0;
	padding:0 20rpx ;
}
.my-content-item{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:20rpx 0 ;
	border-bottom: 2rpx solid #cccccc;
}
</style>
